package btanalyzer.core;

import java.util.ArrayList;
import java.util.List;

public class DiggResult {
	
	DiggResultDiggedSite diggResultDiggedSite;
	public void setDiggResultDiggedSite(
			DiggResultDiggedSite diggResultDiggedSite) {
		this.diggResultDiggedSite = diggResultDiggedSite;
	}
	public DiggResultDiggedSite getDiggResultDiggedSite() {
		return diggResultDiggedSite;
	}
	
	List<DiggResultTorrent> diggResultTorrents = new ArrayList<DiggResultTorrent>();
	public void setDiggResultTorrents(List<DiggResultTorrent> diggResultTorrents) {
		this.diggResultTorrents = diggResultTorrents;
	}
	public List<DiggResultTorrent> getDiggResultTorrents() {
		return diggResultTorrents;
	}
	
	public void addDiggResultTorrent(DiggResultTorrent diggResultTorrent) {
		getDiggResultTorrents().add(diggResultTorrent);
	}
	@Override
	public String toString() {
		return "[diggResultDiggedSite=" + diggResultDiggedSite
				+ ", diggResultTorrentsSize=" + diggResultTorrents.size() + "]";
	}

}
